package com.zhangye.test.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.zhangye.test.model.HeWeather;

@Repository
public interface HeWeatherMapper {

	int deleteByPrimaryKey(Long id);

    int insert(HeWeather record);

    HeWeather selectByPrimaryKey(Long id);

    List<HeWeather> selectAll();

    int updateByPrimaryKey(HeWeather record);
    
    List<HeWeather> selectByWhere(@Param("where")String where);
}